SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a831e9fe21421e5c822593a56d5b2d795136c83160c3f93f4e13fb632352e56' 
  AND token = 'EgT30b/eswQH4HF14oACrXZ4vHUCfDkGNOpE8GyC68E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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