SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '126a3f459e8bf7f415553359d35d1b4247cff2ea15ab4c49dc38566c88414f27' 
  AND token = 'c6zeN/Zzgpb6cr2OwsYzTJyFhd76tp62j9QYYjBeOdg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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