SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffd07760d640b6623fc074d4be05151ae08ee31486b2f6513fce3a4c3868e540' 
  AND token = 'aehRfV4h5CVwR/p4wign5S+E6lEPgONIZm+DOXthi4o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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