SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90afc1f02e58cda7e86ba61fab673da934fcf61b8f361e8f4a3f00f045c24890' 
  AND token = 'KGE3mC2/nM2xFiwycw8war83bhnQzWsNpqt7RRwfsLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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