SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e06557eb7a82a2e108f4034f9132bc7c757c9cc34cb8172fbfa5ab5cf4fb0f9c' 
  AND token = 'maREc2lwtR2/7RMna/HZNwiw+NJaGira1mBAC6tjofY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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