SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea380af65cb6594e7b3e57516cfed863718345a5378f479d85fea299f45c5884' 
  AND token = 'JLAvJFileW3iH36yHr/ZCv+HSuTa3a8B7k0oJz0YtwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}