SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2f6138345f1c2bddf59d2b79c7ea5c5a402a1e61e6f9ecc28d626e90560c6dd' 
  AND token = 'LpoeKOt1yjEnnFf6OU8TjC3/aOtq7GkB6dmPId/UcQ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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