SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d9770312835215d27f373fc8c2a76888a486205f196e90fdbf2748c090c5544' 
  AND token = '9VKNf9mG1DPxXgyNBXSYf4Lr/3WNHLHSlMwlGHsHb4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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