SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb8e2b3d709aef28ac89d44ec0ad54815cb735ad4cf0b32e2e5c16573051cf40' 
  AND token = 'XUF5eTkVxuJgVFhu9c/9RYE1pAy/FVDB8Ksk6g9J/+o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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