SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9a278c17d00198c5fe226a6239ada44cddc0befa1aacd5a71fe5b2599e6bdef' 
  AND token = 'BaTL9uh5+Y8+Up2Kxv7R42GIZ2qxEcdx9jM+tdsLAZs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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