SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40642ed33075343f2b1a62b98f64c5e2eadbba5e746eeb21492cef1e44bd9be4' 
  AND token = 'hmqRaW0+Nxx5LlPvy9/hwJb01iqUCe2ObweYyNWwa5E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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