SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddea9b9c688a315a0079a1d6fd645706762cb8393b7c6faf1333c673fa614fca' 
  AND token = 'AtvLnjbUa1vb/WqAe1PW7dydGBxaQ/oKQzw2u9sVcns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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