SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '240766da8a8a4364e6d3bdc7d27ec560520a16f87d3c6db907217a011b6cc6a8' 
  AND token = 'Hx02y7eHqVDOP9cPx3QFRQhv/Iaz/7CUlaAu6jZGIyc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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