SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '991d8ce14ea9b0f82e836af5dad1bd61201eb6b58ca04aa1c523f0e7578b97c7' 
  AND token = 'iN7Nm/LPnz8ywUAdiqWe0oaUgcCV7D8dSVXe4rDJuw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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