SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd812a340dca3c59581ea15f54c25225001295c8cb385bde321a0e3baa1408307' 
  AND token = 'rNw8xIWfI4Bvk3gqWh7tQ90iss0GYjmFSwY+YDKyZkQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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