SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f638dcde5807443077eb85cb192bca0c6e6fdfd0cedc0338c27785a4f2ef3bdd' 
  AND token = 'aqEt5JHsdbpGc7xg/po1FfePa2eEy3kxbCDDYrA8jc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00171

JSON explain

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