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

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}