SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f3979bd41f988c2419a38a84eb9fe1f458c50986648bb41ebc8190be09e5c9f3' 
  AND token = '7ZzvCq+To2xG+xVex/QVdHGae44ATSc0X1YwJnx+ECs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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