SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4042db60cdcec68867f78f2c8e449da36232db69133127532894edebbde1428' 
  AND token = '9N9gZXZz11iuwcmtGF8Rmj1Bjsb4LlATGDxsHBtn7Kg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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