SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6dd6321cfb0b1d848428c140a7c3276ccc3b241ddde818d6f6d1f7303e93a52' 
  AND token = 'Q0oYzFR4d0bdRJoQ1hYFRAS82jItuGSpQh1coHDAgJM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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