SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fa99396e0207fd856674066493da74acf0259cabd539bace9bc7d71297c7c7c' 
  AND token = 'icdC8KX8z1p+PwlttWBH7wfuYy3etKp0ZOMmHyLGHeg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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