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

Query time 0.00039

JSON explain

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