SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '007133aa3e4b651bd0a27a00393e2440f998fc79a40473feb42f9fde3508a72e' 
  AND token = 'C+lvpfSn/C1UFNLXKbkby1pewRP3Kqt2Ci2I391pCus=' 
  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"
    }
  }
}