SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b4da6e56e69a31fbc0d2a9e8ed1d98e1804706d7762da9ff2490efae0b2ab72' 
  AND token = 'UXiwxrSBssLVmHUJRV1qFb7TG80ifZ8Ukq8omblMFQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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