SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '98a00e31817abe3bf7c089a84174904e40da5dd709a7f11e093ed102185c78db' 
  AND token = 'BBi0a1MkZ4rcmaC9Az8ME5HaffD161PNHWpCm2c5lHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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