SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c7249261e00993cae3d7e7395e81f188cdf72818a57b99304d2aa10356d84a7' 
  AND token = 'sMgFEcUoY8h1y0Q14UyrYmYyHUhPBKgL/WQV3ITs43o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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