SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dec4af6dad257b62142a9371c410c912364379d16f1f34d650318fc0b7e1a2c2' 
  AND token = 'BWcBKLMuP3fQyNpZ/1Ap5UncBbdc0psDrZ2vuOV7rh8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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