SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24b59015a8787757e6db1aff5ad8c8dcd0927a8c68c071135fb3dc4df7754e1a' 
  AND token = 'e9cJs8tcteIkgP0AF+s0Q/b8pTO3msaQgXxVQoIbhq8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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